<div class="login">
    <form action="${api_ctx}/register${api_suf}" name="tiosite_regForm" method="post" class="layui-form">
        <div class="login_input_container">

            <input name="loginname" id="tiosite_reg_loginname"  placeholder="邮箱" type="text" lay-verify="required" class="layui-input">
            <hr class="hr15">
            <input name="nick" id="tiosite_reg_nick" placeholder="昵称" type="text" lay-verify="required" class="layui-input">
            <hr class="hr15">
            <input name="pwd" id="tiosite_reg_pwd" placeholder="密码" type="password" lay-verify="required" class="layui-input">
            <hr class="hr15">
            <!-- <input name="pwd2" id="tiosite_reg_pwd2"placeholder="密码确认" type="password" lay-verify="required" class="layui-input">
            <hr class="hr15"> -->
            <div class="layui-form-item" style="position: relative; left: 1px; ">
                <input type="checkbox" name="agreement" lay-skin="primary" title="" checked="">
                <div class="layui-unselect layui-form-checkbox layui-form-checked" lay-skin="primary">
                    <i class="layui-icon layui-icon-ok"></i>
                </div>
                <a href="/instructions/terms.html" target="_blank" style="position: relative; top: 4px; left: 5px; color: #999;">同意用户服务条款</a>
            </div>

        </div>
        <button class="layui-btn layui-btn-lg" type="button" style="width:100%;" onclick="javascript:tiosite_register(event, this.form);">
            注 册
        </button>
    </form>
</div>